package com.sj.purchase.modules.cost.domain.order;

import org.springframework.data.jpa.domain.AbstractPersistable;

import javax.persistence.MappedSuperclass;

/**
 * 抽象类订单详情
 * Created by icodebug on 17-7-15.
 */
@MappedSuperclass
abstract class OrderItem extends AbstractPersistable<Long> {

    private String skuNo;

    private Double price;//入库为成本价/出库为单价

    private Long num;//数量//销售数or入库数

    public String getSkuNo() {
        return skuNo;
    }

    public void setSkuNo(String skuNo) {
        this.skuNo = skuNo;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Long getNum() {
        return num;
    }

    public void setNum(Long num) {
        this.num = num;
    }
}
